package com.dailyblue.project.estate.parking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Car;
import com.dailyblue.project.estate.commons.bean.Parking;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ParkingService extends IService<Parking> {
    //添加车位
    JsonResult addParking(Parking parking);
    //查询车位
    JsonResult findOneParking(String parkingId);
    //查询所有车位
    JsonResult findAllParkings();
    //删除车位
    JsonResult deleteParking(String parkingId);
    //修改车位
    JsonResult updateParking(Parking parking);
}
